RimuHosting's REST-ful Resources Reference

Path: / r / orders / order-{order-oid}-{domain} / vps / reinstall

Reinstall a VPS. Most of the arguments will default to the existing ones unless over ridden. You can pass in things like different memory values, passwords, distros, etc and we will attempt to make those changes. Input that causes a host value to change (different data center location, different host server, etc) will result in an input validation error. Use a move for changing hosts. Sample usage: curl -X PUT \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -H "Authorization: rimuhosting apikey=$APIKEY" \ --data "{'reinstall_request': {}" \ "https://api.rimuhosting.com/r/orders/order-${ORDER_OID}-namedoesntmatter/reinstall"

Path parameters:
order-oid ([0-9]+) - The id of the order and a domain name.  The domain name is not used in the lookup (we rely solely on the order oid) but the name makes the uri more user-friendly.  The order oid is immuatable.  It won't change.  Even if you rename the server.  So it makes a good id.
domain ([^;/]*) - This parameter is ignored.  But having it makes the urls a little more recognizable.  Typically the VPS domain name is inserted here.

Resource Methods
Method Summary
NameDescription
PUT /r/orders/order-{order-oid}-{domain}/vps/reinstallReinstall a VPS.

Method Detail

PUT /r/orders/order-{order-oid}-{domain}/vps/reinstall

Reinstall a VPS. Most of the arguments will default to the existing ones unless over ridden. You can pass in things like different memory values, passwords, distros, etc and we will attempt to make those changes. Input that causes a host value to change (different data center location, different host server, etc) will result in an input validation error. Use a move for changing hosts. Sample usage: curl -X PUT \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -H "Authorization: rimuhosting apikey=$APIKEY" \ --data "{'reinstall_request': {}" \ "https://api.rimuhosting.com/r/orders/order-${ORDER_OID}-namedoesntmatter/reinstall"

HTTP Example:
PUT /r/orders/order-{order-oid}-{domain}/vps/reinstall
API Example:

JAXRSVPS.reinstallVPS({'order-oid': /* order_oid The id of the order and a domain name.  The domain name is not used in the lookup (we rely solely on the order oid) but the name makes the uri more user-friendly.  The order oid is immuatable.  It won't change.  Even if you rename the server.  So it makes a good id. */,
  'domain': /* domain This parameter is ignored.  But having it makes the urls a little more recognizable.  Typically the VPS domain name is inserted here. */,
  '$entity': /* Reinstall a VPS. */});

Input:
NewVPSRequest
Output:
PostNewVPSResponse